package com.htstar.ovms.device.api.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.TableField;
import com.htstar.ovms.device.api.entity.DeviceAlarm;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author HanGuJi
 * @Description: 设备查询表
 * @date 2020/6/1512:04
 */
@Data
@ContentRowHeight(15)
@HeadRowHeight(20)
@ColumnWidth(25)
public class DeviceAlarmExcelVO {

    @ExcelProperty(value = "报警时间")
    @ApiModelProperty(value = "GPS时间，标准时间，警情开始时间")
    private String createTime;

    @ApiModelProperty(value = "GPS定位地址信息")
    @ExcelProperty("发生地点")
    private String gpsAddr;

    @ApiModelProperty(value = "警情编号")
    @ExcelIgnore
    private Integer alarmType;

    @ApiModelProperty(value = "警情类型")
    @ExcelProperty("报警类型")
    private String alarmTypeName;

    @ApiModelProperty(value = "企业名称")
    @ExcelProperty("企业名称")
    private String etpName;

    @ApiModelProperty(value = "设备序列号")
    @ExcelProperty("设备号")
    private String deviceSn;

    @ApiModelProperty(value = "车牌号")
    @ExcelProperty("车牌号")
    private String licCode;
}
